package com.hl.mapper;

import com.hl.domain.CourseVideo;

import java.util.List;

/**
* @author 好好学习
* @description 针对表【course_video】的数据库操作Mapper
* @createDate 2024-09-09 15:50:30
* @Entity com.hl.domain.CourseVideo
*/
public interface CourseVideoMapper {

    int deleteByPrimaryKey(Long id);

    int insert(CourseVideo record);

    int insertSelective(CourseVideo record);

    CourseVideo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CourseVideo record);

    int updateByPrimaryKey(CourseVideo record);

    //通过课程id查询视频
    List<CourseVideo> selectByCourseId(Long courseId);

}
